package com.kuang.demo.bean.wx;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data@AllArgsConstructor
@NoArgsConstructor
public class Comment {
    private Integer id;
    private Integer valueId;
    private Integer type;
    private String content;
    private Integer userId;
    private Boolean hasPicture;
    private List<String> picUrls;
    private Integer star;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private Boolean deleted;

}